package com.zxy.ziems.collector.httpClient;

import lombok.Data;

/**
 * @author 10348359
 * @create 2024-04-22 21:52
 */
@Data
public class Result<T> {
    private Integer code;
    private String message;
    private T data;

    /**
     * 是否成功
     * @return
     */
    public Boolean isSuccess() {
        return 20000 == code;
    }
}
